package com.keste.ojt1.view.task9.rmakkena.bean;

import oracle.adf.controller.TaskFlowId;

public class HelperBean {
  private String taskFlowId1 = "/WEB-INF/com/keste/ojt1/view/task9/rmakkena/flow/TreeTF.xml#TreeTF";
     private String taskFlowId2 = "/WEB-INF/com/keste/ojt1/view/task9/rmakkena/flow/searchTF.xml#searchTF";
     private String taskFlowId = taskFlowId1;
    public HelperBean() {
    }

    public String showTreeTable() {
        // Add event code here...
        taskFlowId=taskFlowId1;
        return null;
    }

    public String showMasterDetail() {
        // Add event code here...
        taskFlowId=taskFlowId2;
        return null;
    }

    public TaskFlowId getDynamicTaskFlowId() {
        return TaskFlowId.parse(taskFlowId);
    }
}
